package com.neu.niuyuchao.service;

import com.neu.niuyuchao.dao.MgrApproveDaoImpl;

import java.util.Map;

public class UpdateStuDorService {
    private MgrApproveDaoImpl mgrApproveDao;
    public UpdateStuDorService(){
        mgrApproveDao=new MgrApproveDaoImpl();
    }
    public boolean doUpdateStuDor(Object...params){
        boolean flag=false;
        int row=mgrApproveDao.updateStuDor(params);
        if (row>0){
            flag=true;
        }
        return flag;
    }
}
